package com.hodge.web.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * 用户角色(UserRole)表实体类
 *
 * @author haojun
 * @since 2020-08-28 20:51:06
 */
@Data
@Builder
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@TableName("tab_user_role")
public class UserRole extends Model<UserRole> {
    //主键
    private Long id;

    //用户ID
    private Long userId;

    //角色ID
    private Long roleId;

}